-
-
Notifications
You must be signed in to change notification settings - Fork 598
Added ManagementConsole API and some missing tests. #203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… at a future date.
* @param array $hash | ||
* @return \Guzzle\Http\EntityBodyInterface|mixed|string | ||
*/ | ||
protected function get($uri, $hash) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overwriting the parent method with a different signature is a bad idea IMO. You should use a different method name instead
@stof thanks for the speedy and thorough review. |
$api = $this->getApiMock(); | ||
$api->expects($this->once()) | ||
->method('get') | ||
->with('/setup/api/configcheck') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should check that get is called with the hash in the headers too, not only with the second argument
…sh is sent with the request.
@stof I went ahead and added the remaining |
@stof anything else I need to add here? |
Any word on this? |
@guillermoandrae I'm not a maintainer on this repo. So it is not me merging this (I just provide review on the repo to help the maintainers) |
Got it, @stof. Thanks very much for the feedback! Maybe @pilot or @cursedcoder ... can one of you guys take a look at this? |
Added ManagementConsole API and some missing tests.
No description provided.